package com.chuanjiabao.wisdom.bean;

public class Constants {

    public static final String BASE_URL = "https://home.zzwisdom.com/api/v1/";
    public static final String URL_POST_LOGIN = BASE_URL + "login/mobilecode";
    public static final String URL_GET_LOGINOUT = BASE_URL + "user/loginout";
    public static final String URL_GET_MEDIA = BASE_URL + "index/getmedia";
    public static final String URL_GET_UPDATE = BASE_URL + "index/checkupdate";
    public static final String URL_POST_SMS = BASE_URL + "login/sendsmscode";
    public static final String ULR_GET_TEST = BASE_URL + "test/test1";            //获取STS
    public static final String ULR_POST_UPDATA = BASE_URL + "user/getUploadAuth"; //获取上传权限1代表家上传2代表个人私密上传
    public static final String URL_POST_FAMILY_DETAIL = BASE_URL + "home/detail"; //获取家的详情
    public static final String URL_POST_HOME_CREATE = BASE_URL + "home/create";   //创建家
    public static final String URL_GET_HOMT_LIST = BASE_URL + "home/list";        //家列表
    public static final String URL_GET_HOMT_EXIT = BASE_URL + "home/exit";        //退出家
    public static final String URL_POST_USERINFO_CHANGE = BASE_URL + "user/userinfo"; //POST修改个人信息
    public static final String URL_GET_USERINFO_CHANGE = BASE_URL + "user/userinfo";  //GET获取个人信息
    public static final String URL_POST_HOME_CREATER = BASE_URL + "home/createuser";  //创建家庭成员
    public static final String URL_POST_HOME_EDITUSER = BASE_URL + "home/edituser";   //编辑家庭成员
    public static final String URL_POST_CALL_BACK = BASE_URL + "oss/test1";           //上传文件的回调
    public static final String URL_POSST_WX_BAND = BASE_URL + "login/wxbind";         //获取微信数据提交服务器
    public static final String URL_CALL_BACK_HOST = "http://home.zzwisdom.com";
    public static final String URL_GET_USER_INFO = BASE_URL + "user/userinfo";        //获取个人信息
    public static final String URL_GET_FAMILY_USER_INFO = BASE_URL + "home/filelist"; //根据个人获取对应的图片文本视频
    public static final String URL_POST_SECRET_PWD = BASE_URL + "user/setsecretinfo"; //设置私密相册密码
    public static final String URL_POST_RESET_SECRET_PWDD = BASE_URL + "user/resetsecretpassword"; //重置私密密码
    public static final String URL_POST_SET_SECRET_PWDD = BASE_URL + "user/Setpassword"; //修改私密密码
    public static final String URL_POST_ID_CHECK = BASE_URL + "user/checkIdcard"; //校验身份证号
    public static final String URL_GET_AUTH = BASE_URL + "user/getauth";//获取私密授权
    public static final String URL_POST_AUTH_RENZHENG = BASE_URL + "user/authsecret";//私密密码认证
    public static final String URL_GET_SECRET_FILES = BASE_URL + "user/filelist";//获取私密文件
    public static final String URL_POST_UPDATE_HEAD = BASE_URL + "user/setUseravatar";//上传个人头像
    public static final String URL_POST_ADD_TEXT = BASE_URL + "article/addContent";//添加家文章
    public static final String URL_POST_UPDATE_PHONEID = BASE_URL + "user/setUserdevice";//提交设备ID（极光推送）
    public static final String URL_POST_SET_SECRETION = BASE_URL + "user/setsecreton";//是否开启密码模式
    public static final String URL_GET_REMOVE_HOME_USER = BASE_URL + "home/removeHomeUser";//删除家人
    public static final String URL_POST_ADD_SECRET_TEXT = BASE_URL + "user/addText";       //添加私密文本
    public static final String URL_POST_DELETE_SECRET_FILE = BASE_URL + "user/delfile";    //删除文件
    public static final String URL_POST_HOME_FILE_DELETE = BASE_URL + "home/delfile";      //删除家相册
    public static final String URL_POST_HOME_TEXT_DELETE = BASE_URL + "article/delContent";//家文章删除
    public static final String URL_POST_HOME_FILE_RELATION = BASE_URL + "home/shareFile"; //加相册分配文件
    public static final String URL_GET_HOME_FILE = BASE_URL + "home/filetotal";           //获取家相册统计
    public static final String URL_GET_SECRET_FILE_TOTAL = BASE_URL + "user/filetotal";   //私密相册统计
    public static final String URL_GET_SET_STORAGE = BASE_URL + "user/userStorage";       //设置存储量
    public static final String URL_GET_INHERIT = BASE_URL + "home/inherit";               //检测传承
    public static final String URL_GET_INHERIT_MERGE = BASE_URL + "home/mergeHome";       //合并家
    public static final String URL_GET_INHERIT_DETAIL = BASE_URL + "home/detail";         //传承人列表
    public static final String URL_GET_INHERIT_SECRET = BASE_URL + "home/getSecret";      //生成密钥
    public static final String URL_POST_START_INVITE = BASE_URL + "user/startInvite";     //分享邀请
    public static final String URL_GET_USER_INVITE = BASE_URL + "user/invite";            //检测是否被分享
    public static final String URL_POST_END_INVITE = BASE_URL + "user/end_invite";        //接收邀请
    public static final String URL_POST_END_INHERIT = BASE_URL + "home/inherit_end";      //接受传承
    public static final String URL_POST_SECRET_TO_HOME = BASE_URL + "user/moveFiletoHome";//私密相册转家
    public static final String URL_POST_MOBILE_CHANGE = BASE_URL + "user/setUsermobile";  //修改手机号
    public static final String URL_GET_CANCEL = BASE_URL + "user/cancelAccount";

    public static final String URL_HTML_ABOUT_BIHU = "http://home.zzwisdom.com/demo/index/homedetail";
    public static final String UPDATE_LOAD_HOME = "home";//上传家人图片
    public static final String UPDATE_LOAD_PERSON = "person";//上传个人图片

    public static final String INTENTN_ID = "INTENTN_ID";
    public static final int LOGINPRESSION = 0x0001;
    public static final int REQEEST_CDOE_GPS = 0x0002;
    public static final int REQUEST_CODE = 0x0003;
    public static final int REQUEST_CODE_ACCURATE_BASIC = 0x00012;
    public static final int REQUEST_CODE_LOCATION = 0x00013;
    public static final int REQUEST_CODE_COPYREASION = 0x00014;
    public static final int REQUEST_CODE_USER_SEARCH = 0x00015;

    public static final String WX_PAY_APPID = "wx85749217c6b09568";
    public static final String WX_PAY_SECRET = "eed831d9f8447439dc482a5a7bd0677e";
    //微信获取到code提交三方获取oppenId
    public static final String URL_WX_GET_OPPENID = "https://api.weixin.qq.com/sns/oauth2/access_token";
}
